import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    userId:null,
    loginCode:null
  },
  getters: {
  },
  mutations: {
    updateUserId(state,payload){
      state.userId = payload
    },
    updateLogin(state,payload1){
      state.loginCode = payload1
    }
  },
  actions: {
  },
  modules: {
  }
})
